
<form id="addBus" method="post" enctype="multipart/form-data">
    <div style="width: 95%;height: 900px">
        <div class="field">
            <label for="lname">商家名称：</label>
        </div>
        <div class="fieldContent">
            <input id="lname" class="easyui-textbox" name="lname" style="width: 55%"/>
        </div>
        <!--<label for="lname" >
            <div class="field">商家名称：</div>
            <div class="fieldContent">
                <input id="lname" class="easyui-textbox" name="lname" style="width: 55%">
            </div>
        </label>-->
        <div class="field">
            <label for="describe">描述：</label>
        </div>
        <div class="fieldContent">
            <input id="describe" class="easyui-textbox" name="describe" style="width: 55%"/>
        </div>

        <div class="field">APP
            <label for="describe">是否首页推荐：</label>
        </div>
        <div class="fieldContent">
            <input type="radio" id="recommend"  name="recommend" value="0" checked/>是&emsp;&emsp;
            <input type="radio" id="recommend1" name="recommend" value="1" checked/>否
        </div>

        <div class="field">
            <label for="describe">最低消费：</label>
        </div>
        <div class="fieldContent">
            <input id="lprice" class="easyui-textbox" name="lprice" style="width: 55%"/>
        </div>

        <div class="field">
            <label for="filePath">商家图片：</label>
        </div>
        <div class="fieldContent">
            <input id="filePath" name="filePath" class="easyui-filebox" style="width: 55%" data-options="prompt:'请选择图片，图片大小限制在200kb以内...'">
        </div>

        <div class="field">
            <label for="serv_id">服务类型：</label>
        </div>
        <div class="fieldContent">
            <input class="easyui-combobox" name="serv_id" id="serv_id" style="width:55%"
                data-options="
                url:'/lifeService/getServiceTypeList',
                method:'get',
                valueField:'serv_id',
                textField:'serv_name',
                panelHeight:'auto',
                groupField:'serv_type'">

        </div>

        <div class="field">
            <label for="cid">城市：</label>
        </div>
        <div class="fieldContent">
            <input class="easyui-combobox" id="cid" name="cid" style="width:55%"
                  data-options="
                  url: '/getCityList',
                  method: 'get',
                  valueField:'cid',
                  textField:'city',
                  groupField:'province'">
        </div>
        <div class="field"><label for="tel">联系电话：</label></div>
        <div class="fieldContent">
            <input id="tel" class="easyui-textbox" name="tel" style="width:55%">
        </div>
        <div class="field">
            <label for="address">详细地址：</label>
        </div>
        <div class="fieldContent">
            <input id="address" name="address" class="easyui-textbox" style="width: 55%"/>
        </div>

<!--        <div id="r-result">请输入:<input type="text" id="suggestId" size="20" value="百度" style="width:150px;" /></div>
        <div id="searchResultPanel" style="border:1px solid #C0C0C0;width:150px;height:300px; display:block;position:absolute;z-index:99999;">asfdasf</div>-->

        <div class="field">
            <label for="coords">坐标：</label>
        </div>
        <div class="fieldContent">
            <input id="coords" name="coords" class="easyui-textbox" value="" style="width: 55%"/><span style="font-size: 12px;">&nbsp;(点击地图内商家位置获取商家地理坐标)</span>
        </div>

        <!--<div style="width: 100%">
            <label for="city">当前城市：</label><input id="city" value=""/><span></span>
            <label for="coords">坐标：</label><input id="coords" value=""/><span>(点击地图内商家位置获取商家地理坐标)</span>
        </div>-->
        <div id="container" style="width:95%;height:50%;margin:5px auto;"></div>
        <!--<div id="r-result" style="width:100%;">请输入:<input type="text" id="suggestId" size="20" value="百度" style="width:150px;" /></div>
        <div id="searchResultPanel" style="border:1px solid #C0C0C0;width:150px;height:300px; display:block;"></div>
    -->


        <div class="field" style="color:#ff0000">
            <label>添加一个商家管理员管理此商家的交易记录</label>
        </div>
        <div class="field">
            <label for="username">用户名：</label>
        </div>
        <div class="fieldContent">
            <input id="username" class="easyui-textbox" name="username" style="width: 55%"  data-options="required:true,validType:'usernames'"/>
        </div>
        <div class="field">
            <label for="nickname">昵称：</label>
        </div>
        <div class="fieldContent">
            <input id="nickname" class="easyui-textbox" name="nickname" style="width: 55%" data-options="validType:'length[0,30]'"/>
        </div>
        <div class="field">
            <label for="pwd">密码：</label>
        </div>
        <div class="fieldContent">
            <input id="pwd" type="password" class="easyui-textbox" name="password" style="width: 55%" required validType="length[6,30]"/>
        </div>
        <div class="field">
            <label for="phone">手机：</label>
        </div>
        <div class="fieldContent">
            <input id="phone" class="easyui-textbox" name="phone" style="width: 55%" required validType="phones"/>
        </div>
        <div class="field">
            <label for="email">邮箱：</label>
        </div>
        <div class="fieldContent">
            <input id="email" class="easyui-textbox" name="email" style="width: 55%" validType="email"/>
        </div>

    </div>

</form>

<script type="text/javascript">


/*
    var map = new BMap.Map("container");          // 创建地图实例


    var point = new BMap.Point(116.404, 39.915);  // 创建点坐标


    map.centerAndZoom(point, 15);                 // 初始化地图，设置中心点坐标和地图级别

*/

</script>
